package com.zmzncs.lmtc.module.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.module.order.pojo.order_Info.OrderInfo;
import com.zmzncs.lmtc.module.order.pojo.order_Info.OrderInfoManageVO;
import com.zmzncs.lmtc.module.order.pojo.order_Info.ParkOrderInfoVO;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.Map;


/**
 * @author 高博文
 * @since 2020-09-01
 */
public interface OrderInfoService extends IService<OrderInfo> {

    /**首页*/
    OrderInfoManageVO getParkingOwnerData(Long parkId);
    /**业务-车场管理 */
    ParkOrderInfoVO getParkOrderInfo(Long parkId, Date selectDate,Integer currentPage,Integer pageSize);

    /** 昨天、今天、本周、本月的缴费 */
    String getPaidAmountByDate(Long parkId, Integer dateType);

    /**每月收益*/
    Map getMonthIncome(Long parkId);

    /**预约、泊车、月租总收益*/
    Map income(Long parkId);

}
